<template>
	<view class="page">
		<text class="example-info">超链接组件，在小程序内复制url，在app内打开外部浏览器，在h5端打开新网页。</text>
		<uni-section title="基本示例" type="line"></uni-section>
		<view class="example-body">
			<uni-link href="https://uniapp.dcloud.io/" text="https://uniapp.dcloud.io/"></uni-link>
		</view>
		<uni-section title="自定义样式" type="line"></uni-section>
		<view class="example-body">
			<uni-link href="https://uniapp.dcloud.io/" text="https://uniapp.dcloud.io/" showUnderLine="false" color="#0000FF"></uni-link>
		</view>
	</view>
</template>

<script>
	export default {
		components: {},
		data() {
			return {};
		}
	};
</script>

<style lang="scss">
	@import '@/common/uni-nvue.scss';

	.example-body {
		flex-direction: row;
		justify-content: flex-start;
	}
</style>
